package com.ruoyi.user.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员-微信绑定关系对象 t_qb_user_wx
 *
 * @author lzhj
 * @date 2021-01-19
 */
public class QbUserWx extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 人员id
     */
    @Excel(name = "人员id")
    private Long userId;

    /**
     * 证件号
     */
    @Excel(name = "证件号")
    private String zjh;

    /**
     * 人员类别
     */
    @Excel(name = "人员类别")
    private String category;

    /**
     * 微信openID
     */
    @Excel(name = "微信openID")
    private String openId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setZjh(String zjh) {
        this.zjh = zjh;
    }

    public String getZjh() {
        return zjh;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getCategory() {
        return category;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("zjh", getZjh())
                .append("category", getCategory())
                .append("openId", getOpenId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}